import React from 'react';
import { Typography, Icon, Button } from 'antd';
import { history } from 'umi'
import styles from './index.less';

const { Paragraph } = Typography;

const AcceptPage = () => (
    <div className={styles.resultPageContent}>
        <div className={styles.left}>
            <div className={styles.leftContent}>
                <Paragraph>
                    <Icon type="check-circle" theme="filled" className={styles.acceptedIcon}></Icon>
                    <span className={styles.acceptedResult}>接受录用</span>
                </Paragraph>
                <Paragraph>
                    <div>感谢接收微微的录用，期待您的加入！</div>
                    <div>欢迎扫码关注微微科技公众号，了解更多微微讯息。</div>
                </Paragraph>
                <Paragraph>
                    <Button
                        type="primary"
                        onClick={() => {
                            history.push({
                                pathname: '/external/interview/entrylogin'
                            });
                        }}
                    >
                        登录
                    </Button>
                </Paragraph>
            </div>
        </div>
        <div className={styles.divider}></div>
        <div className={styles.right}>
            <div className={styles.rightContent}>
                <Paragraph>欢迎扫码关注微微科技公众号，了解更多微微讯息。</Paragraph>
                <div className={styles.workAppQRCode}></div>
            </div>
        </div>
    </div>
);

export default AcceptPage;
